package com.controller;

import com.service.F_inforService;
import com.service.F_userService;
import com.util.C_user;
import com.util.F_register;
import com.util.F_user;
import com.util.Result;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class F_userController {
    @Resource
    private F_userService f_userService;
    @RequestMapping("/add_fcompany")
    public Result<?> Add_fcompany(@RequestBody F_register f_register){
        return f_userService.add(f_register);
    }
}
